import Vue from 'vue'
import App from './App'
import store from './store'
// 全局请求封装
import request from './utils/http.js'
// 引入uview框架
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
Vue.config.productionTip = false

Vue.prototype.$store = store
Vue.prototype.$request = request
// 引入
import headTitle from '@/components/headTitle/index'
// 用户详情页的头部
import detailsTitle from '@/components/headTitle/detailsTitle'
import noData from '@/components/noData/index'
//映入JS
import common from'common/mixins/common.js'
Vue.prototype.$noMultipleClicks = common.noMultipleClicks

// 注册为全局组件
Vue.component('headTitle', headTitle)
Vue.component('noData', noData)
Vue.component('detailsTitle', detailsTitle)


App.mpType = 'app'

const app = new Vue({
	store,
	...App
})

app.$mount()
